package com.dkd.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 工单详情对象 tb_task_details
 *
 * @author dkd
 * @date 2025-11-10
 */
public class TaskDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 详情ID */
    private Long id;

    /** 工单ID */
    @Excel(name = "工单ID")
    private Long taskId;

    /** 货道编号 */
    @Excel(name = "货道编号")
    private String channelCode;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long skuId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String skuName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String skuImage;

    /** 补货期望容量 */
    @Excel(name = "补货期望容量")
    private Integer expectCapacity;

    /** 补货实际容量 */
    @Excel(name = "补货实际容量")
    private Integer actualCapacity;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId()
    {
        return taskId;
    }

    public void setChannelCode(String channelCode)
    {
        this.channelCode = channelCode;
    }

    public String getChannelCode()
    {
        return channelCode;
    }

    public void setSkuId(Long skuId)
    {
        this.skuId = skuId;
    }

    public Long getSkuId()
    {
        return skuId;
    }

    public void setSkuName(String skuName)
    {
        this.skuName = skuName;
    }

    public String getSkuName()
    {
        return skuName;
    }

    public void setSkuImage(String skuImage)
    {
        this.skuImage = skuImage;
    }

    public String getSkuImage()
    {
        return skuImage;
    }

    public void setExpectCapacity(Integer expectCapacity)
    {
        this.expectCapacity = expectCapacity;
    }

    public Integer getExpectCapacity()
    {
        return expectCapacity;
    }

    public void setActualCapacity(Integer actualCapacity)
    {
        this.actualCapacity = actualCapacity;
    }

    public Integer getActualCapacity()
    {
        return actualCapacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("channelCode", getChannelCode())
            .append("skuId", getSkuId())
            .append("skuName", getSkuName())
            .append("skuImage", getSkuImage())
            .append("expectCapacity", getExpectCapacity())
            .append("actualCapacity", getActualCapacity())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
